Very strange error only in case when i use 2dCanvas part from npm service. Old one works fine. Its is same code.
First i try to replace iframe with object but same results.
There not sense where program breaks for me . !
// somewhere deep in program
s.font = "13px Arial";
Also strange -> If i make breakpoint with debbuger then no error shows !
ERROR LOG , This only cathed on Firefox , not in chrome ! i have feeling that same staff killig my renders.
Exception { name: "NS_ERROR_FAILURE", message: "", result: 2147500037, filename: "http://localhost...../builds/actual.tex.js", lineNumber: 9131, columnNumber: 0, data: null, stack: "[48]</GAME_OBJECT/this.DRAW_ACTOR@
I use now for both 2d and 3d build with:
"browserify App-Examples.js -p esmify > builds/some.js"
I wanna use npm service for both. webgl part already works on browserify builds...
Any suggestion ?
Live link for working variant : old version working fine
UPDATE: By logs : i have double running of everything ! I cant catch why...